﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MCromwell.StaffIntranet.Task.Infrastructure
{
    [AttributeUsage(AttributeTargets.Method)]
    public class WrapExceptionWithAttribute : Attribute
    {
        private Type chosenException = null;
        public WrapExceptionWithAttribute(Type ChosenException)
        {
            this.chosenException = ChosenException;
        }

        public Type WrapExceptionType { get { return chosenException; } }
                 
    }
}
